﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace CJJCH.Web
{
    public partial class ListPage : System.Web.UI.Page
    {
        CJJCH.BLL.T_NET_MenuSecond bll_menusecond = new BLL.T_NET_MenuSecond();
        CJJCH.BLL.T_NET_MenuThird bll_third = new BLL.T_NET_MenuThird();
        CJJCH.BLL.T_NET_News bll_News = new BLL.T_NET_News();
        CJJCH.BLL.T_NET_Download bll_Download = new BLL.T_NET_Download();
        CJJCH.BLL.T_NET_Consulting bll_cons = new BLL.T_NET_Consulting();
        CJJCH.BLL.T_NET_Standards bll_standards = new BLL.T_NET_Standards();
        CJJCH.BLL.T_INF_Norm bll_norm = new BLL.T_INF_Norm();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                InitRepater();
            }
        }
        private void InitRepater()
        {
            if (Request.QueryString["firstid"] != null && LTP.Common.CheckInput.CheckDigit(Request.QueryString["firstid"].Trim()))
            {
                
                Top1.IIndex = Convert.ToInt32(Request.QueryString["firstid"].Trim());
                this.lblFID.Text = LTP.Common.StringClass.EncodeString(Request.QueryString["firstid"].Trim());
                Top1.FirstId = Convert.ToInt32(lblFID.Text);
                switch (Convert.ToInt32(Request.QueryString["firstid"]))
                {
                    case 1:
                        lstTitle.Text = "北京城建促进会-新闻动态";
                        ImaLest.ImageUrl = "Image/SubBanner1.gif";
                        break;
                    case 2:
                        lstTitle.Text = "北京城建促进会-技术标准";
                        ImaLest.ImageUrl = "Image/SubBanner2.gif";
                        break;
                    case 3:
                        lstTitle.Text = "北京城建促进会-教育培训";
                        ImaLest.ImageUrl = "Image/SubBanner4.gif";
                        break;
                    case 4:
                        lstTitle.Text = "北京城建促进会-专家评审";
                        ImaLest.ImageUrl = "Image/SubBanner6.gif";
                        break;
                    case 5:
                        lstTitle.Text = "北京城建促进会-科技推广";
                        ImaLest.ImageUrl = "Image/SubBanner7.gif";
                        break;
                    case 6:
                        lstTitle.Text = "北京城建促进会-协会刊物";
                        ImaLest.ImageUrl = "Image/SubBanner8.gif";
                        break;
                    case 7:
                        lstTitle.Text = "北京城建促进会-下载中心";
                        ImaLest.ImageUrl = "Image/SubBanner9.gif";
                        break;
                    case 8:
                        lstTitle.Text = "北京城建促进会-关于我们";
                        ImaLest.ImageUrl = "Image/SubBanner3.gif";
                        break; ;
                    default:
                        break;
                }
                if (Request.QueryString["secondid"] != null && LTP.Common.CheckInput.CheckDigit(Request.QueryString["secondid"].Trim()))
                {
                  
                    lblSID.Text = LTP.Common.StringClass.EncodeString(Request.QueryString["secondid"].Trim());
                      Top1.SecondId = Convert.ToInt32(lblSID.Text);
                    CJJCH.Model.T_NET_MenuSecond menusecond = new Model.T_NET_MenuSecond();
                    menusecond = bll_menusecond.GetModelListPane(Convert.ToInt32(lblFID.Text), Convert.ToInt32(lblSID.Text));
                    if (menusecond != null)
                    {
                        lblMID.Text = menusecond.MenuTypeID.ToString();
                        LeftMenu1.FirstId = menusecond.FirstID;
                        LeftMenu1.SecondId = menusecond.ID;
                        if (Request.QueryString["thirdid"] != null && LTP.Common.CheckInput.CheckDigit(Request.QueryString["thirdid"].Trim()))
                        {
                          
                            if (Convert.ToInt32(Request.QueryString["thirdid"]) != 0)
                            {
                                lblTID.Text = Request.QueryString["thirdid"];
                                Top1.ThirdId = Convert.ToInt32(lblTID.Text);
                                CJJCH.Model.T_NET_MenuThird menuthird = new Model.T_NET_MenuThird();
                                menuthird = bll_third.GetMinModelAgo(Convert.ToInt32(lblTID.Text));
                                if (menuthird != null)
                                {
                                    lblTID.Text = menuthird.ID.ToString();
                                    LeftMenu1.ThirdId = menuthird.ID;
                                    lblmune.Text = menuthird.MenuName;
                                }
                                else
                                {
                                    Response.Redirect("error.aspx");
                                }
                            }
                            else
                            {
                                lblTID.Text = "0";
                                LeftMenu1.ThirdId = 0;
                                lblmune.Text = menusecond.MenuName;
                            }
                        }

                    }
                    else
                    {
                        Response.Redirect("error.aspx");
                    }
                }
                else
                {
                    CJJCH.Model.T_NET_MenuSecond menusecond = new Model.T_NET_MenuSecond();
                    menusecond = bll_menusecond.GetModelListPane(Convert.ToInt32(lblFID.Text), 0);
                    if (menusecond != null)
                    {
                        lblFID.Text = menusecond.FirstID.ToString();
                        lblSID.Text = menusecond.ID.ToString();
                        lblMID.Text = menusecond.MenuTypeID.ToString();
                        LeftMenu1.FirstId = menusecond.FirstID;
                        LeftMenu1.SecondId = menusecond.ID;
                        if (menusecond.HaveChild == true)//判断二级标题是否有子类如果有根据二级标题id获取到三级标题id如果无赋值为0
                        {
                            CJJCH.Model.T_NET_MenuThird menuthird = new Model.T_NET_MenuThird();
                            menuthird = bll_third.GetMinModel(menusecond.ID);
                            lblTID.Text = menuthird.ID.ToString();
                            LeftMenu1.ThirdId = menuthird.ID;
                            lblmune.Text = menuthird.MenuName;
                        }
                        else
                        {
                            lblTID.Text = "0";
                            LeftMenu1.ThirdId = 0;
                            lblmune.Text = menusecond.MenuName;
                        }
                    }
                    else
                    {
                        Response.Redirect("error.aspx");
                    }
                }
            }
            else
            {
                Response.Redirect("error.aspx");
            }

            if (Request.QueryString["keyword"] != null)
            {
                lblKeyWord.Text = Request.QueryString["keyword"].ToString();
                Top1.Keyword = lblKeyWord.Text;

            }

            if (Request.QueryString["typename"] != null)
            {

                lbltypeName.Text = Request.QueryString["typeName"].Trim();
                Top1.Typename = lbltypeName.Text;

            }
            if (Request.QueryString["curpage"] != null && LTP.Common.CheckInput.CheckDigit(Request.QueryString["curpage"].Trim()))
            {
                AspNetPager1.CurrentPageIndex = System.Convert.ToInt32(Request.QueryString["curpage"].Trim());
                AspNetPager2.CurrentPageIndex = AspNetPager1.CurrentPageIndex;
            }
            else
            {
                AspNetPager1.CurrentPageIndex = 1;
                AspNetPager2.CurrentPageIndex = AspNetPager1.CurrentPageIndex;
            }



        }

        private void ReapterDataBinding()
        {
            int totalCount = 0;
            string keyword = "";

            if (lblKeyWord.Text != "")
            {
                keyword = lblKeyWord.Text.Trim();
            }
            int keytype = 0;
            if (lblTID.Text != "")
            {
                keytype = Convert.ToInt32(lblTID.Text.Trim());

            }
            int count = 0;
            switch (Convert.ToInt32(lblMID.Text))
            {
                case 2:
                    divAsp.Style.Add("display", "none");
                    divAsp2.Style.Add("display", "block");
                    divAsp3.Style.Add("display", "none");
                    divCons.Style.Add("display", "none");
                    divDownload.Style.Add("display", "none");
                    divNews.Style.Add("display", "block");
                    divStandards.Style.Add("display", "none");
                    divNor.Style.Add("display", "none");
                    IList<CJJCH.Model.T_NET_News> News = new List<Model.T_NET_News>();
                    News = bll_News.GetNewsList(AspNetPager1.CurrentPageIndex, AspNetPager1.PageSize, Convert.ToInt32(lblSID.Text), keyword, keytype, "", "", ref totalCount, "");
                    AspNetPager1.RecordCount = totalCount;
                    count = News.Count;
                    rptNewsList.DataSource = News;
                    rptNewsList.DataBind();
                    break;
                case 3:
                    divAsp.Style.Add("display", "none");
                    divAsp2.Style.Add("display", "block");
                    divAsp3.Style.Add("display", "none");
                    divDownload.Style.Add("display", "block");
                    divNews.Style.Add("display", "none");
                    divStandards.Style.Add("display", "none");
                    IList<CJJCH.Model.T_NET_Download> Download = new List<Model.T_NET_Download>();
                    Download = bll_Download.SelDownload(AspNetPager1.CurrentPageIndex, AspNetPager1.PageSize, keyword, keytype, "", "", ref totalCount, "", Convert.ToInt32(lblSID.Text));
                    AspNetPager1.RecordCount = totalCount;
                    count = Download.Count;
                    rptDownload.DataSource = Download;
                    rptDownload.DataBind();
                    break;
                case 5:
                    divAsp.Style.Add("display", "none");
                    divAsp2.Style.Add("display", "none");
                    divAsp3.Style.Add("display", "block");
                    divCons.Style.Add("display", "block");
                    divDownload.Style.Add("display", "none");
                    divNews.Style.Add("display", "none");
                    divStandards.Style.Add("display", "none");
                    divNor.Style.Add("display", "none");
                    IList<CJJCH.Model.T_NET_Consulting> Consulting = new List<CJJCH.Model.T_NET_Consulting>();
                    Consulting = bll_cons.GetConsultingList(AspNetPager3.CurrentPageIndex, AspNetPager3.PageSize, Convert.ToInt32(this.lblSID.Text.Trim()), "", Convert.ToInt32(this.lblTID.Text.Trim()), "", "", ref totalCount, "");
                    AspNetPager3.RecordCount = totalCount;
                    count = Consulting.Count;
                    this.rptCons.DataSource = Consulting;
                    this.rptCons.DataBind();
                    break;
                case 6:
                    divAsp.Style.Add("display", "block");
                    divAsp2.Style.Add("display", "none");
                    divAsp3.Style.Add("display", "none");
                    divCons.Style.Add("display", "none");
                    divDownload.Style.Add("display", "none");
                    divNews.Style.Add("display", "none");
                    divStandards.Style.Add("display", "block");
                    divNor.Style.Add("display", "none");
                    IList<CJJCH.Model.T_NET_Standards> Standardslist = new List<CJJCH.Model.T_NET_Standards>();
                    Standardslist = bll_standards.SelStandards(AspNetPager2.CurrentPageIndex, AspNetPager2.PageSize, keyword, keytype, "", "", ref totalCount, "", Convert.ToInt32(lblSID.Text));
                    AspNetPager2.RecordCount = totalCount;
                    count = Standardslist.Count;
                    rptStandardsList.DataSource = Standardslist;
                    rptStandardsList.DataBind();
                    break;
                case 8:
                    divAsp.Style.Add("display", "none");
                    divAsp2.Style.Add("display", "block");
                    divCons.Style.Add("display", "none");
                    divDownload.Style.Add("display", "none");
                    divNews.Style.Add("display", "none");
                    divStandards.Style.Add("display", "none");
                    divNor.Style.Add("display", "block");
                    IList<CJJCH.Model.T_INF_Norm> normList = new List<CJJCH.Model.T_INF_Norm>();
                    normList = bll_norm.GetNormList(AspNetPager1.CurrentPageIndex, AspNetPager1.PageSize, keyword, keytype, "", "", ref totalCount, "");
                    AspNetPager1.RecordCount = totalCount;
                    count = normList.Count;
                    this.rptNorm.DataSource = normList;
                    this.rptNorm.DataBind();
                    break;
                default:
                    Response.Redirect("error.aspx");
                    break;
            }
            if (count == 0)
                litMessage.Text = "<table width=100%><tr style=height:18px bgcolor=#FFFFFF><td align='center'><font color=red>对不起，系统没有检索出有关信息！<font></td></tr></table>";
            else
                litMessage.Text = "";
            if (Convert.ToInt32(lblMID.Text) == 6)
            {
                divAsp.Style.Add("display", "block");
                divAsp2.Style.Add("display", "none");
                divAsp3.Style.Add("display", "none");
                AspNetPager2.CustomInfoHTML = "共有：<font color=\"blue\"><b>" + AspNetPager2.RecordCount.ToString() + "</b></font>条记录";
                AspNetPager2.CustomInfoHTML += " <font color=\"red\"><b>" + AspNetPager2.CurrentPageIndex.ToString() + "</b></font>";
                AspNetPager2.CustomInfoHTML += "/<font color=\"blue\"><b>" + AspNetPager2.PageCount.ToString() + "</b></font>";
            }
            else if (Convert.ToInt32(lblMID.Text) == 5)
            {
                divAsp.Style.Add("display", "none");
                divAsp2.Style.Add("display", "none");
                divAsp3.Style.Add("display", "block");
                AspNetPager3.CustomInfoHTML = "共有：<font color=\"blue\"><b>" + AspNetPager3.RecordCount.ToString() + "</b></font>条记录";
                AspNetPager3.CustomInfoHTML += " <font color=\"red\"><b>" + AspNetPager3.CurrentPageIndex.ToString() + "</b></font>";
                AspNetPager3.CustomInfoHTML += "/<font color=\"blue\"><b>" + AspNetPager3.PageCount.ToString() + "</b></font>";
            }
            else
            {
                divAsp.Style.Add("display", "none");
                divAsp2.Style.Add("display", "block");
                divAsp3.Style.Add("display", "none");
                AspNetPager1.CustomInfoHTML = "共有：<font color=\"blue\"><b>" + AspNetPager1.RecordCount.ToString() + "</b></font>条记录";
                AspNetPager1.CustomInfoHTML += " <font color=\"red\"><b>" + AspNetPager1.CurrentPageIndex.ToString() + "</b></font>";
                AspNetPager1.CustomInfoHTML += "/<font color=\"blue\"><b>" + AspNetPager1.PageCount.ToString() + "</b></font>";
            }
        }
        /// <summary>
        /// 新闻列表
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void rptNewsList_ItemDataBound(object sender, RepeaterItemEventArgs e)
        {

            if (e.Item.ItemType == ListItemType.AlternatingItem || e.Item.ItemType == ListItemType.Item)
            {
                ((HyperLink)e.Item.FindControl("lnkTitle")).Text = LTP.Common.StringClass.GetENString(((CJJCH.Model.T_NET_News)e.Item.DataItem).DataTitle, 35);
                ((HyperLink)e.Item.FindControl("lnkTitle")).ToolTip = ((CJJCH.Model.T_NET_News)e.Item.DataItem).DataTitle;
                if (DataBinder.Eval(e.Item.DataItem, "IsHot").ToString() == "True")
                {
                    ((HyperLink)e.Item.FindControl("lnkTitle")).ForeColor = System.Drawing.Color.Red;
                }
                ((HyperLink)e.Item.FindControl("lnkTitle")).NavigateUrl = "NewsDetail.aspx?ID="
                    + LTP.Common.StringClass.EncodeUrl(((CJJCH.Model.T_NET_News)e.Item.DataItem).ID.ToString())
                    + "&firstid=" + LTP.Common.StringClass.EncodeUrl(((CJJCH.Model.T_NET_News)e.Item.DataItem).FirstID.ToString())
                    + "&secondid=" + LTP.Common.StringClass.EncodeUrl(((CJJCH.Model.T_NET_News)e.Item.DataItem).SecondID.ToString())
                    + "&thirdid=" + LTP.Common.StringClass.EncodeUrl(((CJJCH.Model.T_NET_News)e.Item.DataItem).ThirdID.ToString())
                    + "&curpage=" + AspNetPager1.CurrentPageIndex.ToString()
                    + "";
                ((Label)e.Item.FindControl("lblPlusDate")).Text = ((CJJCH.Model.T_NET_News)e.Item.DataItem).PlusDate.ToString("yyyy/MM/dd");
            }
        }
        /// <summary>
        /// 下载列表
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void rptDownload_ItemDataBound(object sender, RepeaterItemEventArgs e)
        {

            if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
            {
                ((Label)e.Item.FindControl("lblDownloadTitle")).Text = LTP.Common.StringClass.GetENString(((CJJCH.Model.T_NET_Download)e.Item.DataItem).DataTitle, 20);
                ((Label)e.Item.FindControl("lblDownloadTitle")).ToolTip = ((CJJCH.Model.T_NET_Download)e.Item.DataItem).DataTitle;
                ((ImageButton)e.Item.FindControl("ImgFileName")).CommandArgument = ((CJJCH.Model.T_NET_Download)e.Item.DataItem).DataUrl.ToString() + "," + ((CJJCH.Model.T_NET_Download)e.Item.DataItem).ID.ToString();
                ((Label)e.Item.FindControl("lblPlusData")).Text = ((CJJCH.Model.T_NET_Download)e.Item.DataItem).PlusDate.ToString("yyyy/MM/dd");

            }
        }
        /// <summary>
        /// 评估资讯
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void rptCons_ItemDataBound(object sender, RepeaterItemEventArgs e)
        {
            if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
            {
                ((Label)e.Item.FindControl("lblDataTitle")).Text = LTP.Common.StringClass.GetENString(((CJJCH.Model.T_NET_Consulting)e.Item.DataItem).DataTitle, 20);
                ((Label)e.Item.FindControl("lblDataSource")).Text = ((CJJCH.Model.T_NET_Consulting)e.Item.DataItem).DataSource;
                ((Label)e.Item.FindControl("lblDataSource")).ToolTip = ((CJJCH.Model.T_NET_Consulting)e.Item.DataItem).DataSource;
                ((Label)e.Item.FindControl("lblDataAuthor")).Text = ((CJJCH.Model.T_NET_Consulting)e.Item.DataItem).DataAuthor;
                ((Label)e.Item.FindControl("lblPlusDate")).Text = ((CJJCH.Model.T_NET_Consulting)e.Item.DataItem).PlusDate.ToString("yyyy/MM/dd");
                ((LinkButton)e.Item.FindControl("lbtnSelCons")).CommandArgument = ((CJJCH.Model.T_NET_Consulting)e.Item.DataItem).ID.ToString();
            }
        }
        /// <summary>
        /// 技术标准
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void StandardsList_ItemDataBound(object sender, RepeaterItemEventArgs e)
        {
            if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
            {
                ((Label)e.Item.FindControl("lblDataTitle")).Text = LTP.Common.StringClass.GetENString(((CJJCH.Model.T_NET_Standards)e.Item.DataItem).DataTitle, 20);

                ((Label)e.Item.FindControl("lblDataServiceID")).Text = ((CJJCH.Model.T_NET_Standards)e.Item.DataItem).DataServiceID;
                ((Label)e.Item.FindControl("lblDataName")).Text = LTP.Common.StringClass.GetENString(((CJJCH.Model.T_NET_Standards)e.Item.DataItem).DataName, 20);
                ((Label)e.Item.FindControl("lblDataName")).ToolTip = ((CJJCH.Model.T_NET_Standards)e.Item.DataItem).DataName;
                ((Label)e.Item.FindControl("lblDataAuthor")).Text = ((CJJCH.Model.T_NET_Standards)e.Item.DataItem).DataAuthor;
                ((Label)e.Item.FindControl("lblPlusDate")).Text = ((CJJCH.Model.T_NET_Standards)e.Item.DataItem).PlusDate.ToString("yyyy/MM/dd");
                ((Label)e.Item.FindControl("lblDataSource")).Text = ((CJJCH.Model.T_NET_Standards)e.Item.DataItem).DataSource;
                ((Label)e.Item.FindControl("lblDataAbout")).Text = ((CJJCH.Model.T_NET_Standards)e.Item.DataItem).DataAbout;
                ((LinkButton)e.Item.FindControl("lbtnSel")).CommandArgument = ((CJJCH.Model.T_NET_Standards)e.Item.DataItem).ID.ToString();
            }
        }
        /// <summary>
        /// 规范解释
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void rptNorm_ItemDataBound(object sender, RepeaterItemEventArgs e)
        {

            if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
            {
                ((HyperLink)e.Item.FindControl("lnkNorm")).Text = LTP.Common.StringClass.GetENString(((CJJCH.Model.T_INF_Norm)e.Item.DataItem).NormTitle, 20);
                ((HyperLink)e.Item.FindControl("lnkNorm")).ToolTip = ((CJJCH.Model.T_INF_Norm)e.Item.DataItem).NormTitle;
                ((HyperLink)e.Item.FindControl("lnkNorm")).NavigateUrl = LTP.Common.ConfigHelper.GetConfigString("BookShopWeb") + "NormDetails.aspx?ID="
                    + LTP.Common.StringClass.EncodeUrl(((CJJCH.Model.T_INF_Norm)e.Item.DataItem).ID.ToString())
                     + "&MID=" + LTP.Common.StringClass.EncodeUrl(lblMID.Text.Trim());
                ((Label)e.Item.FindControl("lblNormDate")).Text = ((CJJCH.Model.T_INF_Norm)e.Item.DataItem).PlusDate.ToString("yyyy/MM/dd");
            }
        }
        /// <summary>
        /// 下载事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void lbtnFileName_Click(object sender, EventArgs e)
        {
            string[] str = ((ImageButton)sender).CommandArgument.Replace("~/", "").Replace("\\", "/").Split(',');
            string strPath = Server.MapPath("~/");
            strPath += str[0].ToString();
            bll_Download.AddHits(new Guid(str[1].ToString()));
            LTP.Common.FileClass.DownloadFile(strPath);
        }
        /// <summary>
        /// 分页控件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void AspNetPager1_PageChanged(object sender, EventArgs e)
        {
            ReapterDataBinding();

        }

        protected void lbtnSel_Click(object sender, EventArgs e)
        {
            if (LTP.Common.CheckInput.CheckGUID(((LinkButton)sender).CommandArgument))
            {
                Response.Redirect("StandardsDetails.aspx?keyword=" + LTP.Common.StringClass.EncodeUrl(lblKeyWord.Text.Trim())
                    + "&firstid=" + LTP.Common.StringClass.EncodeUrl(lblFID.Text.Trim())
                    + "&secondid=" + LTP.Common.StringClass.EncodeUrl(lblSID.Text.Trim())
                    + "&thirdid=" + LTP.Common.StringClass.EncodeUrl(lblTID.Text.Trim())
                    + "&MID=" + LTP.Common.StringClass.EncodeUrl(lblMID.Text.Trim())
                    + "&ID=" + (((LinkButton)sender).CommandArgument));

            }
            else
            {
                LTP.Common.WindowClass.WindowBack("操作错误！");
            }
        }

        protected void lbtnSelCons_Click(object sender, EventArgs e)
        {
            if (LTP.Common.CheckInput.CheckGUID(((LinkButton)sender).CommandArgument))
            {
                Response.Redirect("StandardsDetails.aspx?keyword=" + LTP.Common.StringClass.EncodeUrl(lblKeyWord.Text.Trim())
                    + "&firstid=" + LTP.Common.StringClass.EncodeUrl(lblFID.Text.Trim())
                    + "&secondid=" + LTP.Common.StringClass.EncodeUrl(lblSID.Text.Trim())
                    + "&thirdid=" + LTP.Common.StringClass.EncodeUrl(lblTID.Text.Trim())
                    + "&MID=" + LTP.Common.StringClass.EncodeUrl(lblMID.Text.Trim())
                    + "&ID=" + (((LinkButton)sender).CommandArgument));

            }
            else
            {
                LTP.Common.WindowClass.WindowBack("操作错误！");
            }
        }

        protected void lbtnFileName_Click1(object sender, EventArgs e)
        {
            Response.Write("sfdss");
        }
    }
}